package com.hzncc.flowable_diboot.contract.vo;

import com.diboot.core.binding.annotation.*;
import com.diboot.iam.entity.IamUser;
import com.hzncc.flowable_diboot.contract.entity.ContractProductMaterial;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* 合同产品物料技术清单 VO定义
* @author MyName
* @version 1.0
* @date 2024-07-12
* Copyright © MyCorp
*/
@Getter @Setter @Accessors(chain = true)
public class ContractProductMaterialListVO extends ContractProductMaterial  {
private static final long serialVersionUID = 1388929376539015496L;
    /**
    * 创建人 关联信息
    */

    @BindField(
        entity = IamUser.class,
        field = "realname",
        condition = "this.create_by = id"
     )
    private String createByLabel;

    /**
    * 更新人 关联信息
    */

    @BindField(
        entity = IamUser.class,
        field = "realname",
        condition = "this.update_by = id"
     )
    private String updateByLabel;

}